package com.chris.webService;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;

/**
 * Created by chris on 2019/2/3.
 */
@WebService(name = "DemoWebService", // 暴露服务名称
        targetNamespace = "http://service.chris.com"// 命名空间,一般是接口的包名倒序
)
public interface DemoWebService {

    @WebMethod
    @WebResult(name = "String",targetNamespace = "")
    public String sayHello(String user);

}
